package com.mtt.erp.goods.vo;

import com.mtt.erp.file.dto.ImageDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * User: Z_Shuan
 * Date: 2019/7/10
 * Description: 商品信息
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
@ApiModel(
        description = "商品信息"
)
public class GoodsVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主商品
     */
    @ApiModelProperty(
            value = "主商品信息列表"
    )
    private MaaFileVo maaFile;

    /**
     * 子商品
     */
    @ApiModelProperty(
            value = "子商品信息列表"
    )
    private List<MabFileVo> dataSourceMabChild;
    /**
     * 产品主图
     */
    @ApiModelProperty(
            value = "产品主图"
    )
    private List<ImageDto> fileListM;
    /**
     * 产品附图
     */
    @ApiModelProperty(
            value = "产品附图"
    )
    private List<ImageDto> fileListF;

    /**
     * 产品视频
     */
    @ApiModelProperty(
            value = "产品视频"
    )
    private List<ImageDto> fileListVideo;
}
